@import url("./element.less");

* {
    box-sizing: border-box;
}

body,
html {
    /* dialog 打开的时候默认会给body减去17px */
    width: 100% !important;
    height: 100vw;
    overflow: hidden;
    color: var(--color) !important;
    background-color: var(--background);
}

#app {
    height: 100%;
    overflow: hidden;
}

.wrap {
    width: 100%;
    height: 100%;
}

.wrap-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-icon {
    cursor: pointer;
    transition: all 0.3s;
}

svg g polyline {
    stroke: var(--color);
}

.svg-icon:hover {
    transform: scale(1.1);
}

.svg-icon:focus {
    outline: none;
}

.actionList .svg-icon {
    font-size: 18px;
    margin-right: 5px;
}

.el-button .svg-icon {
    font-size: 16px;
}

.scrollbar::-webkit-scrollbar {
    width: 5px;
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #e5e5e5;
    border-radius: 10px;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--active-color);
}